package org.dcits.util;

import java.util.Date;

import org.dcits.model.InTransflow;
import org.dcits.model.Tranflow;

public class ObjectToTransflow {
	public static Tranflow objectToTranflow(InTransflow in) {
		Tranflow trans = new Tranflow();
		trans.setaAcctNo(in.getaAcctNo());
		trans.setbAcctNo(in.getbAcctNo());
		trans.setDate(new Date());
		trans.setSalary(in.getSalary());
		
		return trans;
	}
}
